<?php

/* html/diary/pinglun.tpl.html */
class __TwigTemplate_6c58f1389d4b2b3fe2d51e5d0e7b94f15df07c38ae72276140558420de7549bd extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = array(
        );
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 1
        echo "<!DOCTYPE html>
<html>
<head>
\t<title>pinglun</title>
\t<meta charset=\"utf-8\">
\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, user-scalabel=no, minimum-scale=1.0, maximum-scale=1.0\">
\t<link rel=\"stylesheet\" type=\"text/css\" href=\"/static/diary/css/pinglun.css\">
\t<style type=\"text/css\">
\t\t.topArrowleft{
\t\t\tbackground:  url(./assets/arrow.png) 0 center no-repeat;
\t\t\t/*background-position: center;*/
\t\t\t/*background-size: auto;*/
\t\t}
\t</style>
</head>
<body>
<header>
\t <!-- <div class=\"topArrowleft\"><img src=\"./assets/arrow.png\"></div>  -->
\t <div class=\"topArrowleft\"></div> 
\t<div class=\"topTit\">发表评论</div>
\t <div class=\"topFabu\">发布</div> 
</header>
<section>
\t<!-- <input type=\"text\" name=\"\" placeholder=\"请输入文字\"> -->
\t<textarea   id=\"content\" placeholder=\" 请输入文字\"></textarea>
</section>
</body>
<script type=\"text/javascript\" src=\"/static/common/js/zepto.js\"></script>
<script type=\"text/javascript\" src=\"/static/common/js/vue.js\"></script>
<script type=\"text/javascript\" src=\"/static/common/js/jquery-1.11.2.min.js\"></script>
<script type=\"text/javascript\">
\t(function(){
\t\t// 点击左箭头返回上一页面
\t\t\$('.topArrowleft').on('click',function(){
\t\t\t// e.preventDefault();
\t\t\twindow.location.href= 'rijiZW.html';
\t\t});
\t\t// 评论数据
\t\t\$('.topFabu').click(function(){
\t\t\tconsole.log('ni');
\t\t\tvar messsge=\$('#content').val();
\t\t\tconsole.log(messsge);
\t\t\t\$.ajax({
\t\t\t\ttype: \"post\",
\t\t\t\turl: 'http://paile.yanfaguanjia.cn/diary/CommitComment',
\t\t\t\tdata:{
\t\t\t\t\tuid:1,
\t\t\t\t\tdid:1,
\t\t\t\t\tcontent:messsge
\t\t\t\t},
\t\t\t\tdataType: \"json\",
\t\t\t\tsuccess: function (data) {
\t\t\t\t\tif(messsge != ''){
\t\t\t\t\t\t// alert('1');
\t\t\t\t\t\tconsole.log(data);
\t\t\t\t\t\twindow.location.href= 'rijiZW.html';
\t\t\t\t\t}else{
\t\t\t\t\t\tconsole.log('内容为空');
\t\t\t\t\t}\t\t\t\t\t\t\t
\t\t\t\t},
\t\t\t\terror: function (data) {
\t\t  \t\t    console.log(data);\t
\t\t\t\t}
\t\t\t});\t
\t\t})
\t})()
</script>
</html>";
    }

    public function getTemplateName()
    {
        return "html/diary/pinglun.tpl.html";
    }

    public function getDebugInfo()
    {
        return array (  19 => 1,);
    }

    public function getSourceContext()
    {
        return new Twig_Source("<!DOCTYPE html>
<html>
<head>
\t<title>pinglun</title>
\t<meta charset=\"utf-8\">
\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, user-scalabel=no, minimum-scale=1.0, maximum-scale=1.0\">
\t<link rel=\"stylesheet\" type=\"text/css\" href=\"/static/diary/css/pinglun.css\">
\t<style type=\"text/css\">
\t\t.topArrowleft{
\t\t\tbackground:  url(./assets/arrow.png) 0 center no-repeat;
\t\t\t/*background-position: center;*/
\t\t\t/*background-size: auto;*/
\t\t}
\t</style>
</head>
<body>
<header>
\t <!-- <div class=\"topArrowleft\"><img src=\"./assets/arrow.png\"></div>  -->
\t <div class=\"topArrowleft\"></div> 
\t<div class=\"topTit\">发表评论</div>
\t <div class=\"topFabu\">发布</div> 
</header>
<section>
\t<!-- <input type=\"text\" name=\"\" placeholder=\"请输入文字\"> -->
\t<textarea   id=\"content\" placeholder=\" 请输入文字\"></textarea>
</section>
</body>
<script type=\"text/javascript\" src=\"/static/common/js/zepto.js\"></script>
<script type=\"text/javascript\" src=\"/static/common/js/vue.js\"></script>
<script type=\"text/javascript\" src=\"/static/common/js/jquery-1.11.2.min.js\"></script>
<script type=\"text/javascript\">
\t(function(){
\t\t// 点击左箭头返回上一页面
\t\t\$('.topArrowleft').on('click',function(){
\t\t\t// e.preventDefault();
\t\t\twindow.location.href= 'rijiZW.html';
\t\t});
\t\t// 评论数据
\t\t\$('.topFabu').click(function(){
\t\t\tconsole.log('ni');
\t\t\tvar messsge=\$('#content').val();
\t\t\tconsole.log(messsge);
\t\t\t\$.ajax({
\t\t\t\ttype: \"post\",
\t\t\t\turl: 'http://paile.yanfaguanjia.cn/diary/CommitComment',
\t\t\t\tdata:{
\t\t\t\t\tuid:1,
\t\t\t\t\tdid:1,
\t\t\t\t\tcontent:messsge
\t\t\t\t},
\t\t\t\tdataType: \"json\",
\t\t\t\tsuccess: function (data) {
\t\t\t\t\tif(messsge != ''){
\t\t\t\t\t\t// alert('1');
\t\t\t\t\t\tconsole.log(data);
\t\t\t\t\t\twindow.location.href= 'rijiZW.html';
\t\t\t\t\t}else{
\t\t\t\t\t\tconsole.log('内容为空');
\t\t\t\t\t}\t\t\t\t\t\t\t
\t\t\t\t},
\t\t\t\terror: function (data) {
\t\t  \t\t    console.log(data);\t
\t\t\t\t}
\t\t\t});\t
\t\t})
\t})()
</script>
</html>", "html/diary/pinglun.tpl.html", "/home/wwwroot/Paile/app/views/tpl/html/diary/pinglun.tpl.html");
    }
}
